<ul id="event-list" class="list">
    {{ for(var i=0;i<it.item.length;i++){
    }}
        <li>
            <a href="{{=BASE_URL4}}users/print_voucher_ticket/{{=it.item[i].voucherID}}" download="filename.pdf" target="_blank">
            
            <h3>{{=it.item[i].eventTitle}} </h3>
              <p>{{=it.item[i].eventpackageTitle}} </p>
                <p>Voucher Code: {{=it.item[i].voucher_code}} </p>
            </a>
        </li>
    {{}}}
</ul>